<template>

  <van-cell class="collect-list">
    <div class="info">
      <img :src="item.houseImg" alt="" />
      <div class="text">
        <h4>{{item.title}}</h4>
        <p class="p1">{{item.desc}}</p>
        <div class="btn">近地铁</div>
        <p class="price">{{item.price}}元/月</p>
      </div>
    </div>
  </van-cell>
</template>

<script>
export default {
  props: {
    item: {
      type: Object,
      default: () => ({})
    }
  }
}
</script>

<style lang="less" scoped>
.collect-list{
  padding-top: 25px;
  .info{
    height: 100px;
    display: flex;
    img{
      width: 106px;
      height: 80px;
    }
    .text{
      margin-top: -20px;
      margin-left: 10px;
      .p1{
        margin-top: -20px;
        color: #b6b3b6;
      }
      .btn{
        margin-top: -15px;
        width: 50px;
        height: 20px;
        background-color: #e1f5f8;
        color: #39becd;
        text-align: center;
        line-height: 20px;
        border-radius: 4px;
        font-size: 12px;
      }
      .price{
        margin-top: 1px;
        font-size: 18px;
        color: #fa5741;
      }
    }
  }
}
</style>
